package com.lyf.scm.common.enums;

/**
 * 折让依据类型
 *
 * @author wangchlei
 * @date 2020/07/15
 */
public enum DiscountBasisTypeEnum {
    /**
     * 按采购金额
     */
    PURCHASE_AMOUNT(1, "按采购金额"),
    /**
     * 按采购数量
     */
    PURCHASE_QUANTITY(2, "按采购数量");
    private Integer type;
    private String desc;

    DiscountBasisTypeEnum(Integer type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
